<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="lib/layui/css/layui.css"  media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->

</head>
<body>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="view">查看</a>
<!--    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">修改</a>-->
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<fieldset class="layui-elem-field layui-field-title">
    <legend>采购单管理</legend>
</fieldset>
<from class="layui-form">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">采购单</label>
            <div class="layui-input-inline" style="margin-right: 10px">
                <input type="text" id="cgd" name="title" lay-verify="title" autocomplete="off" placeholder="请输入采购单号" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">采购单状态</label>
            <div class="layui-input-inline">
                <select name="type" id="sel">
                    <option value="">请选择标签</option>
                    <option value="1">已录入</option>
                    <option value="2">待审核</option>
                    <option value="3">审核通过</option>
                    <option value="4">审核不通过</option>
                    <option value="5">采购单进行中</option>
                    <option value="6">已完成</option>
                </select>
            </div>
        </div>
    </div>
</from>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" id="test1" placeholder="yyyy-MM-dd">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" id="test2" placeholder="yyyy-MM-dd">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <button id="look" class="layui-btn layuiadmin-btn-list" lay-submit lay-filter="LAY-app-contlist-search">
                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                </button>
            </div>
        </div>
    </div>

<table class="layui-hide" id="test" lay-filter="test"></table>
<script type="text/html" id="toolbarDemo">
    <div class="layui-btn-container">
<!--        <button class="layui-btn layui-btn-sm" lay-event="insertPurchase">新增采购单</button>-->
        <button class="layui-btn layui-btn-sm" lay-event="auditPurchase">可审核</button>
        <!--<button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button>-->
    </div>
</script>

</body>
<script src="lib/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="lib/js/functionfield.js"></script>
<script src="lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="lib/js/purchase.js"></script>
</html>